<?php /* Smarty version 2.6.16, created on 2009-04-27 21:29:22
         compiled from ProfileSettings.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'ProfileSettings.html', 2, false),array('function', 'url', 'ProfileSettings.html', 5, false),array('function', 'language', 'ProfileSettings.html', 10, false),array('function', 'html_options', 'ProfileSettings.html', 27, false),array('modifier', 'escape', 'ProfileSettings.html', 13, false),array('modifier', 'strtolower', 'ProfileSettings.html', 47, false),array('modifier', 'ucwords', 'ProfileSettings.html', 47, false),)), $this); ?>
<br /><br />
<?php echo smarty_function_messages(array('block' => 'ProfileSettings'), $this);?>

<?php echo $this->_tpl_vars['jsValMess']; ?>


<form method="post" action="<?php echo smarty_function_url(array('link' => 'public.account.settings.profile'), $this);?>
">
<br />
<br />
<table style="width:100%;">
    <tr>
        <td style="width:20%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'headline'), $this);?>
:</td>
        <td style="width:80%;font-size:8pt;" class="color">
        <div class="border13">
        <div style="padding:5px;"><input type="text" name="aUser[headline]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['aUser']['headline'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" size="45" onfocus="this.className='inputmain';" onblur="this.className='';" /></div>
        </div>
        </td>
    </tr>
	<?php $_from = $this->_tpl_vars['aFields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aField']):
?>
    <tr>
        <td style="width:20%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('translate' => $this->_tpl_vars['aField']['custom_field_name']), $this);?>
:</td>
        <td style="width:80%;font-size:8pt;" class="color">
        <div class="border13">
        <div style="padding:5px;">
            <select name="field_option[<?php echo $this->_tpl_vars['aField']['custom_field_id']; ?>
]" style="width:150px;">
            	<?php if (! getParam ( 'setting_default' )): ?>
            	<option value=""><?php echo smarty_function_language(array('text' => "option.select"), $this);?>
</option>
            	<?php endif; ?>
            	<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aField']['options'],'selected' => $this->_tpl_vars['aField']['selected'],'translate' => 'true'), $this);?>

            </select>
        </div>
        </div>
        </td>
    </tr>
	<?php endforeach; endif; unset($_from); ?>
</table>

<?php if (count ( $this->_tpl_vars['aTextFields'] )): ?>
<br />
<br />
<div style="text-align:right;">
    BBcode: <a href="javascript:void(0);" onclick="popUp2('<?php echo smarty_function_url(array('link' => 'public.popup.htmlguide'), $this);?>
','500','500','yes','200','100');"><?php echo smarty_function_language(array('text' => 'on'), $this);?>
</a>
    |
    HTML: <?php if ($this->_tpl_vars['bIsHtml']):  echo smarty_function_language(array('text' => 'on'), $this); else:  echo smarty_function_language(array('text' => 'off'), $this); endif; ?></div>
<br />
<table style="width:100%;">
    <?php unset($this->_sections['I']);
$this->_sections['I']['name'] = 'I';
$this->_sections['I']['loop'] = is_array($_loop=$this->_tpl_vars['aTextFields']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['I']['show'] = true;
$this->_sections['I']['max'] = $this->_sections['I']['loop'];
$this->_sections['I']['step'] = 1;
$this->_sections['I']['start'] = $this->_sections['I']['step'] > 0 ? 0 : $this->_sections['I']['loop']-1;
if ($this->_sections['I']['show']) {
    $this->_sections['I']['total'] = $this->_sections['I']['loop'];
    if ($this->_sections['I']['total'] == 0)
        $this->_sections['I']['show'] = false;
} else
    $this->_sections['I']['total'] = 0;
if ($this->_sections['I']['show']):

            for ($this->_sections['I']['index'] = $this->_sections['I']['start'], $this->_sections['I']['iteration'] = 1;
                 $this->_sections['I']['iteration'] <= $this->_sections['I']['total'];
                 $this->_sections['I']['index'] += $this->_sections['I']['step'], $this->_sections['I']['iteration']++):
$this->_sections['I']['rownum'] = $this->_sections['I']['iteration'];
$this->_sections['I']['index_prev'] = $this->_sections['I']['index'] - $this->_sections['I']['step'];
$this->_sections['I']['index_next'] = $this->_sections['I']['index'] + $this->_sections['I']['step'];
$this->_sections['I']['first']      = ($this->_sections['I']['iteration'] == 1);
$this->_sections['I']['last']       = ($this->_sections['I']['iteration'] == $this->_sections['I']['total']);
?>
    <tr>
        <td style="width:20%;text-align:right;font-size:10pt;vertical-align:top;" class="color"><?php echo smarty_function_language(array('translate' => ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['aTextFields'][$this->_sections['I']['index']]['custom_field_name'])) ? $this->_run_mod_handler('strtolower', true, $_tmp) : strtolower($_tmp)))) ? $this->_run_mod_handler('ucwords', true, $_tmp) : ucwords($_tmp))), $this);?>
:</td>
        <td style="width:80%;font-size:8pt;" class="color">
        <div class="border13">
        <div style="padding:5px;"><textarea cols="50" rows="10" name="text_option[<?php echo $this->_tpl_vars['aTextFields'][$this->_sections['I']['index']]['custom_field_id']; ?>
]" onfocus="this.className='textarea';" onblur="this.className='';"><?php echo ((is_array($_tmp=$this->_tpl_vars['aTextFields'][$this->_sections['I']['index']]['textarea'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea></div>
        </div>
        </td>
    </tr>
    <?php endfor; endif; ?>
</table>
<?php endif; ?>

<div style="padding:6px;">
<table style="width:100%;">
    <tr>
        <td style="width:20%;text-align:right;font-size:10pt;" class="color"><br />
        </td>
        <td style="width:80%;font-size:8pt;" class="color"><br />
        <input type="submit" value=" <?php echo smarty_function_language(array('text' => 'save_profile_settings'), $this);?>
 " name="act[update]" style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></td>
    </tr>
</table>
</div>
</form>